import Vue from "./vue.js";
import { Toast } from "vant";
import "./store/index.js";
import MfpConfig from "../build/mfp.config.js";
import components from "./components/index.js";

Vue.use(Toast);
Vue.prototype.$Toast = Toast;
components.forEach((key) => {
  Vue.component(`${MfpConfig.name}-${key}`, () => import(`./components/${key}/mobile.vue`));
});

export default {};
